package io.kiki.sba.registry.server.clientInterface.strategy;

import io.kiki.sba.registry.common.model.store.Publisher;
import io.kiki.sba.registry.common.model.store.Subscriber;
import io.kiki.sba.registry.common.model.store.Watcher;

public interface RegistryStrategy {

    void start();

    void afterPublisherRegister(Publisher publisher);

    void afterSubscriberRegister(Subscriber subscriber);

    void afterWatcherRegister(Watcher watcher);

    void afterPublisherUnRegister(Publisher publisher);

    void afterSubscriberUnRegister(Subscriber subscriber);

    void afterWatcherUnRegister(Watcher watcher);
}
